package dsq.tools;

public class DsqPrint {

	
	public static String getLineInfo(){
        StackTraceElement ste = new Throwable().getStackTrace()[1];
        return ste.getFileName() + ": Line " + ste.getLineNumber();
    }
	/**
	 * 打印文件名称跟行号
	 */
	public static void printLineNumber() {
		System.err.println("DSQ Print**************This is " + getLineInfo());
	}
	
	
	
}
